//
//  HFTopTableViewCell.m
//  Deepbreathing
//
//  Created by rimi on 15/9/11.
//  Copyright (c) 2015年 DreamHack. All rights reserved.
//

#import "HFTopTableViewCell.h"
@interface HFTopTableViewCell ()

- (void)initAppearance;
@end
@implementation HFTopTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initAppearance];
    }
    return self;
}
- (void)initAppearance
{
    _timeLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 5, 150, 12) adjustWidth:YES];
    _timeLabel.font = [UIFont boldSystemFontOfSize:14 * DHFlexibleHorizontalMutiplier()];
//    _timeLabel.text = @"896/90/9";
    [self.contentView addSubview:self.timeLabel];


    _peopleLabel = [[UILabel alloc] initWithFrame:CGRectMake(160, 5, 100, 12) adjustWidth:YES];
//    _peopleLabel.text = @"自己";
    _peopleLabel.font= [UIFont boldSystemFontOfSize:14 * DHFlexibleHorizontalMutiplier()];
    _peopleLabel.textColor = [UIColor blackColor];
    [self.contentView addSubview:self.peopleLabel];
    
    _contentLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 20, 250, 30) adjustWidth:YES];
//    _contentLabel.text = @"啊是噶说过哈是个拉黑啊哈goal山旮旯山旮旯说过了多撒谎个拉升咯";
    _contentLabel.font = [UIFont boldSystemFontOfSize:14 * DHFlexibleHorizontalMutiplier()];
    _contentLabel.textColor = [UIColor grayColor];
    _contentLabel.numberOfLines = 0;
    [self.contentView addSubview:self.contentLabel];

}

@end
